<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>控制台</title>
<link href="../tablecloth/tablecloth.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript" src="../Js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../Js/haidao.offcial.general.js"></script>
<script type="text/javascript" src="../Js/select.js"></script>
<script type="text/javascript" src="../Js/haidao.validate.js"></script>
<script type="text/javascript">
	var uid = 0;
</script>
<style>
.del {
	background-color: #C00;
	color: #FFF;
	border-radius: 5px;
	line-height: 20px !important;
	padding: 1px 6px;
}
</style>
</head>

<body>
	<div>
		<div class="view-sidebar">
			<div class="sidebar-content" id="sidebar"></div>
		</div>
		<div class="view-product">
			<div class="message-manage">
				<div class="manage-record margin-lr">
					<div class="select-table sel_small">
						<form id = "from1"
							action="<%=request.getContextPath()%>/supervise/showJurisdiction.do"
							method="get">
							<table>
								<tr>
									<td><input id="addAction" type="submit" value="新增角色"></td>
								</tr>
							</table>
						</form>
					</div>

					<div class="clear"></div>
					<div class="offcial-table margin-top clearfix">
						<div class="tr-th clearfix">

							<table width="100%" border="0">
								<thead>
									<tr>
										<th>编号</th>
										<th>权限角色</th>
										<th>简介</th>
										<th>权限参数</th>
										<th>操作</th>
									</tr>
								</thead>
								<tbody>
									<c:forEach items="${list}" var="u">
										<tr style="white-space: nowrap;">
											<td>${u.id}</td>
											<td>${u.rInfo}</td>
											<td>${u.rRole}</td>
											<td>${u.rParameters}</td>
											<td align="center"><a
												href="<%=request.getContextPath()%>/supervise/showJurisdiction.do?id=${u.id}">编辑</a>
											</td>
										</tr>
									</c:forEach>
								</tbody>
							</table>
						</div>
					</div>
				</div>
				<div class="clear"></div>
				<div class="show-page padding-big-right hidden">
					<div class="page"></div>
				</div>
			</div>
		</div>
	</div>
	<script type="text/javascript">
	function submitButton(){
		  document.getElementById("from1").submit();
	}
	
	
	</script>
</body>

</html>